//
//  AppDelegate.m
//  TransWB
//
//  Created by 孝飞王 on 16/12/23.
//  Copyright © 2016年 孝飞王. All rights reserved.
//

#import "AppDelegate.h"
#import "AFNetworkActivityIndicatorManager.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
   //设置app的额外信息
    [self setUpAPPAddtions];
    
    _window = [[UIWindow alloc]init];
    _window.backgroundColor = [UIColor whiteColor];
    UIViewController *vc = [[NSClassFromString(@"WBTabbarViewController") alloc]init ];
    _window.rootViewController = vc;
    [_window makeKeyAndVisible];
    
    
    return YES;
}

#pragma mark - Additions
- (void)setUpAPPAddtions{
    
    //这个提示的时间长短
    [SVProgressHUD setMinimumDismissTimeInterval:1];
    
    //网络指示器
    [AFNetworkActivityIndicatorManager sharedManager].enabled = YES;
    
}

@end
